#include "qbuttonex.h"
#include <qDebug>
#include <QMouseEvent>

QButtonEx::QButtonEx(QWidget *parent) :
    QPushButton(parent)
{

}
QButtonEx::~QButtonEx()
{

}
void QButtonEx::mousePressEvent(QMouseEvent *e)
{
    qDebug()<<"button pressed";
    e->ignore();
}
